<template>
  <div>
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="220px">
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu router
                         default-active="2"
                         class="el-menu-vertical-demo"
                         @open="handleOpen"
                         @close="handleClose">
                  <el-submenu index="1">
                    <template slot="title">
                      <i class="el-icon-location"></i>
                      <span>个人中心</span>
                    </template>
                    <el-menu-item index="/ks">我的信息</el-menu-item>
                    <el-menu-item index="/tz">直播通知</el-menu-item>
                    <el-menu-item index="/gz">我的关注</el-menu-item>
                    <el-menu-item index="/ls">观看历史</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu router
                    default-active="2"
                    class="el-menu-vertical-demo"
                    @open="handleOpen"
                    @close="handleClose">
                  <el-submenu index="2">
                    <template slot="title">
                      <i class="el-icon-video-camera-solid"></i>
                      <span>我的直播间</span>
                    </template>
                    <el-menu-item index="/kb">开播设置</el-menu-item>
                    <el-menu-item index="/kaiboshezhi">直播间信息</el-menu-item>
                    <el-menu-item index="1-3">PK设置</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu
                    default-active="2"
                    class="el-menu-vertical-demo"
                    @open="handleOpen"
                    @close="handleClose">
                  <el-submenu index="1">
                    <template slot="title">
                      <i class="el-icon-video-camera-solid"></i>
                      <span>直播间信息</span>
                    </template>
                    <el-menu-item index="1-2">数据总览</el-menu-item>
                    <el-menu-item index="/kaiboshezhi">礼物统计</el-menu-item>
                    <el-menu-item index="1-3">消费排行</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
        </el-aside>

        <el-main>
          <div class="标题">
            <h>直播通知</h>
          </div>
          <el-card class="box-card">
            <div slot="header" class="clearfix">
         <span>
           <div style="text-align: left"> 全部消息
           </div>
         </span>
            </div>
          </el-card>
        </el-main>
      </el-container>
    </el-container>
    <div>
    </div>
  </div>
</template>

<script>
export default {
  name: "tongzhizhongxin",
  data() {
    return {
      activeName: '1',
      circleUrl: "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
      sizeList: ["large"]
    };
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>

<style >
body{ background-color:#EEEEEE}

.box-card {
  float:right;
  margin-right:3%;
  margin-left:3%;
  width:94%;
  margin-bottom: 5%;
  height:400px;
}

.菜单
{
  margin-left:3%;
}
.标题
{
  position:relative;
  font-size:x-large;
  top:-20px;
  float:left;
  margin-left:3%;
}
</style>
